package com.ruoyi.merchant.other.mapper;

import com.ruoyi.merchant.domain.MerchantPlatformCoupon;
import com.ruoyi.merchant.other.vo.PlatformCouponVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface PlatformCouponMapper {

    PlatformCouponMapper INSTANCE = Mappers.getMapper(PlatformCouponMapper.class);

    PlatformCouponVo toPlatformCouponVo(MerchantPlatformCoupon merchantPlatformCoupon);

    List<PlatformCouponVo> toPlatformCouponVoList(List<MerchantPlatformCoupon> merchantPlatformCouponList);
}
